all: server client
server: server.cc main.pb.cc
	g++ -std=c++17 $^ -o $@ -lprotobuf -lbrpc -lssl -lcrypto -lgflags -lleveldb 
client: client.cc main.pb.cc
	g++ -std=c++17 $^ -o $@ -lprotobuf -lbrpc -lssl -lcrypto -lgflags -lleveldb
.PHONY:clean
clean:
	rm -rf server client